﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Zhuang.WebSite.BLL.CMS;
using System.Data;

namespace Zhuang.WebSite.Areas.CMS.Controllers
{
    public class IndexController : Controller
    {


        Cms_NewsBLL cms_NewsBLL = new Cms_NewsBLL();
        //
        // GET: /CMS/Index/
        public ActionResult Index()
        {

            DataTable dtTopNews = cms_NewsBLL.GetTopNews(3);

            ViewData["dtTopNews"] = dtTopNews;

            return View();
        }

    }
}
